package bdz.projects.atwww.electrolux.ui.core
{
	import bdz.projects.atwww.electrolux.controls.ELUIController;
	
	import flash.display.MovieClip;
	import flash.events.Event;

	public class ELCoreUI extends MovieClip{
		
		protected var _controller:ELUIController;
		protected var _enabled:Boolean = true;
		public function ELCoreUI(ar:AbstractRestriction) {
			super();
			addEventListener(Event.ADDED_TO_STAGE, startComponent);
		}
		private function startComponent(evt:Event):void{
			initializeComponent();
		}
		protected function initializeComponent():void{
			
		}
		protected function getAbstract():AbstractRestriction {
			return new AbstractRestriction();
		}
		public function set controller(el:ELUIController):void{
			_controller = el;
		}
		public function get controller():ELUIController{
			return _controller;
		}
		override public function set enabled(b:Boolean):void{
			_enabled = b;
			mouseChildren = mouseEnabled = b;
		}
		override public function get enabled():Boolean{
			return _enabled;
		}
		
	}
}
internal class AbstractRestriction {}